#ifndef RTE_KT1260B_DISPLAY_H
#define RTE_KT1260B_DISPLAY_H
#ifdef __cplusplus
extern "C" {
#endif

typedef unsigned char u8;
typedef short int16_t;
typedef struct {
    void (*clear)();

    void (*string)(int x, int y, const char *text, int size);

    void (*number_double)(int x, int y, float *val, int dec, int size);

    void (*number_int)(int x, int y, int val, int size);

    void (*display)();

    void (*set_color)(int);

    void (*set_color_bg)(int);
} display_abi;

extern const display_abi display;
#ifdef __cplusplus
};
#endif
#endif //RTE_KT1260B_DISPLAY_H
